package com.ja.openchat.ui.me;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.ViewGroup;

import androidx.annotation.Nullable;

import com.ja.openchat.BR;
import com.ja.openchat.R;
import com.ja.openchat.databinding.FragmentSetAliWechatPayAccountBinding;
import com.ja.openchat.viewmodels.SetAliWeChatPayAccountViewModel;

import me.goldze.mvvmhabit.base.BaseFragment;

//绑定支付宝或者微信界面
public class SetAliWeChatPayAccountFragment extends BaseFragment<FragmentSetAliWechatPayAccountBinding, SetAliWeChatPayAccountViewModel> {

    Bundle arguments;

    @Override
    public int initContentView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        return R.layout.fragment_set_ali_wechat_pay_account;
    }

    @Override
    public int initVariableId() {
        return BR.viewModel;
    }

    @Override
    public void initParam() {
        arguments = getArguments();
    }

    @Override
    public void initData() {
        super.initData();
        viewModel.setBundleInfo(arguments);
    }
}